package entity;

import java.util.Date;

public class OnteComment {

	
	
	public OnteComment(int commentId, int notesId, int userId, String comment, Date commentTime,String avatar,String username) {
		this.commentId = commentId;
		this.notesId = notesId;
		this.userId = userId;
		this.comment = comment;
		this.commentTime = commentTime;
		this.avatar=avatar;
		this.username=username;
	}
	
	
	public OnteComment() {
	}


	private int commentId;
	private int notesId;
	private int userId;
	private String comment;
	private Date commentTime;
	private String avatar;
	private String username;
	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getAvatar() {
		return avatar;
	}


	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}


	public int getCommentId() {
		return commentId;
	}
	public void setCommentId(int commentId) {
		this.commentId = commentId;
	}
	public int getNotesId() {
		return notesId;
	}
	public void setNotesId(int notesId) {
		this.notesId = notesId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Date getCommentTime() {
		return commentTime;
	}
	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}
}
